<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class MY_Controller extends CI_Controller {
	
	
	
	// constructor of this controller
	public function __construct()
    {
		parent::__construct();
               
		//$this->load->library('session');
		//$this->load->model('admin/Video_model');	
		
	}
	

	public function show_view($view,$data='')
    {
	
		$this->load->view('header');
                $this->load->view($view, $data);
                $this->load->view('footer');
		 
		
    }
	
}